Feature: 02. Now we can check the Sentry Streams
Before
Hook
And
the Primary Stream Map is visible
And
the Primary Color button is clicked
And
the Primary Stream Video is visible
And
the text on element Primary Zoom Value is "x1"
When
the Primary Zoom in button is clicked
Then
the text on element Primary Zoom Value is "x2"
And
the "scale" on Primary Stream Video is "2"
And
the Primary Zoom in button is clicked
And
the text on element Primary Zoom Value is "x3"
And
the "scale" on Primary Stream Video is "3"
And
the Primary Zoom in button is clicked
And
the text on element Primary Zoom Value is "x4"
And
the "scale" on Primary Stream Video is "1"
And
the Primary Zoom in button is clicked
And
the text on element Primary Zoom Value is "x5"
And
the "scale" on Primary Stream Video is "2"
And
the Primary Zoom in button is clicked
And
the text on element Primary Zoom Value is "x5"
And
the "scale" on Primary Stream Video is "2"
And
the Primary Thermal button is clicked
And
the Primary Stream Video is visible
And
the text on element Primary Zoom Value is "x5"
And
the "scale" on Primary Stream Video is "2"
And
the Primary Zoom out button is clicked
And
the text on element Primary Zoom Value is "x4"
And
the "scale" on Primary Stream Video is "1"
And
the Primary Zoom out button is clicked
And
the text on element Primary Zoom Value is "x3"
And
the "scale" on Primary Stream Video is "3"
And
the Primary Zoom out button is clicked
And
the text on element Primary Zoom Value is "x2"
And
the "scale" on Primary Stream Video is "2"
And
the Primary Zoom out button is clicked
And
the text on element Primary Zoom Value is "x1"
And
the "scale" on Primary Stream Video is "1"
And
the Primary Map Button is clicked
And
the Primary Stream Map is visible
And
the text on element Primary Zoom Value is "x1"
And
the "r" on Primary Map Circle is "first R"
And
the Primary Zoom in button is clicked
And
the text on element Primary Zoom Value is "x2"
And
the "r" on Primary Map Circle is "higher"
And
the Primary Color button is clicked
And
the Primary Stream Video is visible
And
the text on element Primary Zoom Value is "x1"
And
the "scale" on Primary Stream Video is "1"
And
the Primary Zoom out button is clicked
And
the text on element Primary Zoom Value is "x1"
And
the "scale" on Primary Stream Video is "1"
After
Hook
Before
Hook
And
the Secondary Stream Map is visible
And
the text on element Secondary Zoom Value is "x1"
And
the "r" on Secondary Map Circle is "first R"
When
the Secondary Zoom in button is clicked
Then
the text on element Secondary Zoom Value is "x2"
And
the "r" on Secondary Map Circle is "higher"
And
the Secondary Zoom in button is clicked
And
the text on element Secondary Zoom Value is "x3"
And
the "r" on Secondary Map Circle is "higher"
And
the Secondary Zoom in button is clicked
And
the text on element Secondary Zoom Value is "x4"
And
the "r" on Secondary Map Circle is "higher"
And
the Secondary Zoom in button is clicked
And
the text on element Secondary Zoom Value is "x5"
And
the "r" on Secondary Map Circle is "higher"
And
the Secondary Zoom in button is clicked
And
the text on element Secondary Zoom Value is "x5"
And
the Secondary Zoom out button is clicked
And
the text on element Secondary Zoom Value is "x4"
And
the "r" on Secondary Map Circle is "lower"
And
the Secondary Thermal button is clicked
And
the Secondary Stream Video is visible
And
the text on element Secondary Zoom Value is "x1"
And
the "scale" on Secondary Stream Video is "1"
And
the Secondary Map Button is clicked
And
the Secondary Stream Map is visible
And
the text on element Secondary Zoom Value is "x4"
And
the Secondary Zoom out button is clicked
And
the text on element Secondary Zoom Value is "x3"
And
the "r" on Secondary Map Circle is "lower"
And
the Secondary Color button is clicked
And
the Secondary Stream Video is visible
And
the text on element Secondary Zoom Value is "x1"
And
the "scale" on Secondary Stream Video is "1"
And
the Secondary Zoom in button is clicked
And
the text on element Secondary Zoom Value is "x2"
And
the "scale" on Secondary Stream Video is "2"
And
the Secondary Map Button is clicked
And
the Secondary Stream Map is visible
After
Hook
Before
Hook
java.lang.AssertionError: Button Primary Camera Rotation Button with xpath "//div[contains(@class, 'bigView primary grid-element')]/div[contains(@class, 'interaction-bottom interaction-bottom-bigView')]/div[contains(@class, 'interaction-groupHorizontal interaction-bottom-left')]/button" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Primary Camera Rotation Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/02.Streams.feature:142)
Then
the Primary Camera Rotation Menu is visible
Before
Hook
java.lang.AssertionError: Button Primary Camera Rotation Button with xpath "//div[contains(@class, 'bigView primary grid-element')]/div[contains(@class, 'interaction-bottom interaction-bottom-bigView')]/div[contains(@class, 'interaction-groupHorizontal interaction-bottom-left')]/button" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Primary Camera Rotation Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/02.Streams.feature:146)
And
the Primary Camera Rotation Menu is visible
And
the Primary Map Button is clicked
And
the Primary Stream Map is visible
And
the Primary Camera Rotation Menu is visible
Then
the Primary Camera Rotation Menu Map is visible
And
the Primary Color button is clicked
And
the Primary Stream Video is visible
Before
Hook
java.lang.AssertionError: Button Secondary Camera Rotation Button with xpath "//div[contains(@class, 'smallView grid-element')]/div[contains(@class, 'interaction-bottom interaction-bottom-smallView')]/div[contains(@class, 'interaction-groupHorizontal interaction-bottom-left')]/button" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Secondary Camera Rotation Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/02.Streams.feature:158)
Then
the Secondary Camera Rotation Menu is visible
Before
Hook
java.lang.AssertionError: Button Secondary Camera Rotation Button with xpath "//div[contains(@class, 'smallView grid-element')]/div[contains(@class, 'interaction-bottom interaction-bottom-smallView')]/div[contains(@class, 'interaction-groupHorizontal interaction-bottom-left')]/button" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Secondary Camera Rotation Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/02.Streams.feature:162)
And
the Secondary Camera Rotation Menu Map is visible
And
the Secondary Thermal button is clicked
And
the Secondary Stream Video is visible
And
the Secondary Camera Rotation Menu is visible
Then
the Secondary Camera Rotation Menu is visible
Before
Hook
java.lang.AssertionError: Button Primary Camera Rotation Button with xpath "//div[contains(@class, 'bigView primary grid-element')]/div[contains(@class, 'interaction-bottom interaction-bottom-bigView')]/div[contains(@class, 'interaction-groupHorizontal interaction-bottom-left')]/button" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Primary Camera Rotation Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/02.Streams.feature:171)
And
the Primary Camera Rotation Menu is visible
And
the Collision Avoidance Button is clicked
Then
the Primary Camera Rotation Menu is invisible
And
the Primary Camera Rotation Button is invisible
Before
Hook
java.lang.AssertionError: Button Secondary Camera Rotation Button with xpath "//div[contains(@class, 'smallView grid-element')]/div[contains(@class, 'interaction-bottom interaction-bottom-smallView')]/div[contains(@class, 'interaction-groupHorizontal interaction-bottom-left')]/button" can't be clicked!! null at org.junit.Assert.fail(Assert.java:88) at extern.bsb.tests.ui.when.Click.When__I_click_the_button_id(Click.java:201) at ✽.the Secondary Camera Rotation Button is clicked(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2@2/short_term_sentry/shortTermSentry/02.Streams.feature:178)
And
the Secondary Camera Rotation Menu is visible
And
the Surveillance Button is clicked
Then
the Secondary Camera Rotation Menu is invisible
And
the Secondary Camera Rotation Button is invisible
And
the Secondary Map Button is clicked
And
the Secondary Stream Map is visible
Before
Hook
And
the Secondary Stream View is visible
And
the Boatbus Menu is visible
And
the Primary Stream View FullScreen is invisible
When
the Primary Layout Changer button is clicked
Then
the Primary Stream View FullScreen is visible
And
the Secondary Stream View is invisible
And
the Boatbus Menu is invisible
And
the Primary Layout Changer button is clicked
And
the Primary Stream View is visible
And
the Secondary Stream View is visible
After
Hook
Before
Hook
And
the Primary Stream View is visible
And
the Boatbus Menu is visible
And
the Secondary Stream View FullScreen is invisible
When
the Secondary Layout Changer button is clicked
Then
the Secondary Stream View FullScreen is visible
And
the Primary Stream View is invisible
And
the Boatbus Menu is invisible
And
the Secondary Layout Changer button is clicked
And
the Primary Stream View is visible
And
the Secondary Stream View is visible
After
Hook